package entity

type Job struct {
	JobId int64 `gorm:"column:job_id;type:BIGINT;primary_key" json:"job_id"`

	JobName string `gorm:"column:job_name;type:VARCHAR(255)" json:"job_name"`

	CreatedAt int64 `gorm:"column:created_at;type:BIGINT" json:"created_at"`

	UpdatedAt int64 `gorm:"column:updated_at;type:BIGINT" json:"updated_at"`
}

func (a *Job) TableName() string {
	return "jobs"
}
